package slhs.tempo.TableAnalyzer;

import javax.swing.JButton;
import javax.swing.JFrame;

public class MyProgressBar extends JFrame {
    // ProgressDialog progressDialog;
    String[] messages = { "Started", "Almost done", "Done" };
    JButton button = new JButton("Fake Button");

    public MyProgressBar() {
	// progressDialog = new ProgressDialog(this, "Converting Datatypes", "Operation in progress",
	// "Datatype Conversions in progress", messages, 0, 100, false, false);
	// progressDialog.setMinimumValue(0);
	// progressDialog.setMaximumValue(100);
    }

    public void showProgressBar() {
	this.setSize(400, 100);
	this.add(button);
	this.setVisible(true);
    }

    public void hideProgressBar() {
	this.dispose();
    }

}
